

<%@ page import="com.surelution.projects.crm.GasPlanList" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'gasPlanList.label', default: 'GasPlanList')}" />
        <title><g:message code="default.edit.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
            <span class="menuButton"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="default.edit.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <g:hasErrors bean="${gasPlanListInstance}">
            <div class="errors">
                <g:renderErrors bean="${gasPlanListInstance}" as="list" />
            </div>
            </g:hasErrors>
            <g:form method="post" >
                <g:hiddenField name="id" value="${gasPlanListInstance?.id}" />
                <g:hiddenField name="version" value="${gasPlanListInstance?.version}" />
                <div class="dialog">
                    <table>
                        <tbody>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="countYear"><g:message code="gasPlanList.countYear.label" default="Count Year" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: gasPlanListInstance, field: 'countYear', 'errors')}">
                                    <g:textField name="countYear" value="${gasPlanListInstance?.countYear}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="createTime"><g:message code="gasPlanList.createTime.label" default="Create Time" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: gasPlanListInstance, field: 'createTime', 'errors')}">
                                    <g:textField name="createTime" value="${gasPlanListInstance?.createTime}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="directionDeclare"><g:message code="gasPlanList.directionDeclare.label" default="Direction Declare" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: gasPlanListInstance, field: 'directionDeclare', 'errors')}">
                                    <g:textField name="directionDeclare" value="${gasPlanListInstance?.directionDeclare}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="fuelAmount"><g:message code="gasPlanList.fuelAmount.label" default="Fuel Amount" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: gasPlanListInstance, field: 'fuelAmount', 'errors')}">
                                    <g:textField name="fuelAmount" value="${gasPlanListInstance?.fuelAmount}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="gasolineAmount"><g:message code="gasPlanList.gasolineAmount.label" default="Gasoline Amount" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: gasPlanListInstance, field: 'gasolineAmount', 'errors')}">
                                    <g:textField name="gasolineAmount" value="${gasPlanListInstance?.gasolineAmount}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="pureGunRetailAmount"><g:message code="gasPlanList.pureGunRetailAmount.label" default="Pure Gun Retail Amount" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: gasPlanListInstance, field: 'pureGunRetailAmount', 'errors')}">
                                    <g:textField name="pureGunRetailAmount" value="${gasPlanListInstance?.pureGunRetailAmount}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="pureGunRetailFuel"><g:message code="gasPlanList.pureGunRetailFuel.label" default="Pure Gun Retail Fuel" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: gasPlanListInstance, field: 'pureGunRetailFuel', 'errors')}">
                                    <g:textField name="pureGunRetailFuel" value="${gasPlanListInstance?.pureGunRetailFuel}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="pureGunRetailGas"><g:message code="gasPlanList.pureGunRetailGas.label" default="Pure Gun Retail Gas" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: gasPlanListInstance, field: 'pureGunRetailGas', 'errors')}">
                                    <g:textField name="pureGunRetailGas" value="${gasPlanListInstance?.pureGunRetailGas}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="retailAmount"><g:message code="gasPlanList.retailAmount.label" default="Retail Amount" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: gasPlanListInstance, field: 'retailAmount', 'errors')}">
                                    <g:textField name="retailAmount" value="${gasPlanListInstance?.retailAmount}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="selfRetailAmount"><g:message code="gasPlanList.selfRetailAmount.label" default="Self Retail Amount" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: gasPlanListInstance, field: 'selfRetailAmount', 'errors')}">
                                    <g:textField name="selfRetailAmount" value="${gasPlanListInstance?.selfRetailAmount}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="selfRetailFuelAmount"><g:message code="gasPlanList.selfRetailFuelAmount.label" default="Self Retail Fuel Amount" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: gasPlanListInstance, field: 'selfRetailFuelAmount', 'errors')}">
                                    <g:textField name="selfRetailFuelAmount" value="${gasPlanListInstance?.selfRetailFuelAmount}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="selfRetailGasAmount"><g:message code="gasPlanList.selfRetailGasAmount.label" default="Self Retail Gas Amount" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: gasPlanListInstance, field: 'selfRetailGasAmount', 'errors')}">
                                    <g:textField name="selfRetailGasAmount" value="${gasPlanListInstance?.selfRetailGasAmount}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="smallSendAmount"><g:message code="gasPlanList.smallSendAmount.label" default="Small Send Amount" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: gasPlanListInstance, field: 'smallSendAmount', 'errors')}">
                                    <g:textField name="smallSendAmount" value="${gasPlanListInstance?.smallSendAmount}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="smallSendFuel"><g:message code="gasPlanList.smallSendFuel.label" default="Small Send Fuel" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: gasPlanListInstance, field: 'smallSendFuel', 'errors')}">
                                    <g:textField name="smallSendFuel" value="${gasPlanListInstance?.smallSendFuel}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="smallSendGas"><g:message code="gasPlanList.smallSendGas.label" default="Small Send Gas" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: gasPlanListInstance, field: 'smallSendGas', 'errors')}">
                                    <g:textField name="smallSendGas" value="${gasPlanListInstance?.smallSendGas}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="stationCode"><g:message code="gasPlanList.stationCode.label" default="Station Code" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: gasPlanListInstance, field: 'stationCode', 'errors')}">
                                    <g:textField name="stationCode" value="${gasPlanListInstance?.stationCode}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="stationProperty"><g:message code="gasPlanList.stationProperty.label" default="Station Property" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: gasPlanListInstance, field: 'stationProperty', 'errors')}">
                                    <g:textField name="stationProperty" value="${gasPlanListInstance?.stationProperty}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="unitName"><g:message code="gasPlanList.unitName.label" default="Unit Name" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: gasPlanListInstance, field: 'unitName', 'errors')}">
                                    <g:textField name="unitName" value="${gasPlanListInstance?.unitName}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="username"><g:message code="gasPlanList.username.label" default="Username" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: gasPlanListInstance, field: 'username', 'errors')}">
                                    <g:textField name="username" value="${gasPlanListInstance?.username}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="yearOrMonth"><g:message code="gasPlanList.yearOrMonth.label" default="Year Or Month" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: gasPlanListInstance, field: 'yearOrMonth', 'errors')}">
                                    <g:textField name="yearOrMonth" value="${gasPlanListInstance?.yearOrMonth}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="yearlyMonthly"><g:message code="gasPlanList.yearlyMonthly.label" default="Yearly Monthly" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: gasPlanListInstance, field: 'yearlyMonthly', 'errors')}">
                                    <g:textField name="yearlyMonthly" value="${gasPlanListInstance?.yearlyMonthly}" />
                                </td>
                            </tr>
                        
                        </tbody>
                    </table>
                </div>
                <div class="buttons">
                    <span class="button"><g:actionSubmit class="save" action="update" value="${message(code: 'default.button.update.label', default: 'Update')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </div>
            </g:form>
        </div>
    </body>
</html>
